package com.wzs.setting.service;

import com.wzs.exception.LoginException;
import com.wzs.setting.domain.Like;
import com.wzs.setting.domain.Readr;
import com.wzs.vo.PaginationVO;

import java.util.HashMap;

public interface ReaderService {
    Readr login(String username, String password) throws LoginException;

    boolean register(Readr readr);

    boolean updateReader(Readr readr);

    boolean like(String novelId, String readerId);

    PaginationVO<Like> pageList(HashMap<String, Object> map);
}
